#include "GenTextCommand.h"
#include "HD44780AnalyzerSettings.h"
#include "IHD44780.h"

void GenTextCommand::Generate()
{
    if ( NULL == mSettings || NULL == mInstructionList )
        return;

   IHD44780* Instruction = (*mInstructionList)[ mSettings->GetOperationMode() ];
   Instruction->WaitInMicros(10);
   Instruction->WriteString( (char*) mSettings->GetText() );
}

